#include "AboutForm.h"
#include "ui_AboutForm.h"

AboutForm::AboutForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AboutForm)
{
    ui->setupUi(this);
    this->setWindowTitle("关于软件");
}

AboutForm::~AboutForm()
{
    delete ui;
}

void AboutForm::on_pb_Close_clicked()
{
    this->close();
}

void AboutForm::sync()
{
    ui->lb_Version->setText(QString::fromStdString(currentStatus.curVer));
}
